$redColor: #ff5151;
$blueColor: #2299d5;
$greenColor: #3fa93f;
$grayColor: #9b9b9b;
$blackColor: #000;

.theResults {

}

.theResultsNav {
  padding: 10px 15px;
}

.theResultsNavAll {
  padding: 10px 5px 5px 5px;
  border: 1px solid #dcdcdc;
  border-bottom: none;
  box-shadow: 0 1px 1px #e8e8de;
  ul {
    margin: 5px 0;
    li.title {
      color: $redColor;
      border: 1px solid transparent;
    }
    li {
      border: 1px solid #dcdcdc;
      display: inline-block;
      height: 25px;
      line-height: 25px;
      margin: 1px 5px;
      border-radius: 3px;
      a {
        font-size: 13px;
        color: #585858;
        padding: 0 10px;
        display: inline-block;
      }
      p {
        display: block;
      }

    }
    li.on {
      border: 1px solid $redColor;
    }
    li:hover {
      border: 1px solid $redColor;
      a {
        color: $redColor;
      }
    }
  }
}

.noticeResult {
  border: 1px solid #dcdcdc;
  padding: 10px;
}

.noticeResultTop {
  section:first-child {
    width: 220px;
    display: inline-block;
    font-size: 16px;
    color: $redColor;
    line-height: 40px;
    p {
      background: url('../../../assets/images/theColor/icon/downRIcon.png') left center no-repeat;
      background-size: 25px auto;
      padding-left: 30px;
    }
  }
  section:nth-child(2) {
    flex: 1;
  }
}

.noticeResultOf {
  section {
    float: left;
    padding: 10px 0;
    line-height: 25px;
    margin-right: 10px;
  }
  section:nth-child(2) {
    p {
      display: inline-block;
      width: 25px;
      height: 25px;
      background: $redColor;
      text-align: center;
      line-height: 25px;
      font-size: 14px;
      color: #fff;
      border-radius: 50%;
      margin: 0 3px;
    }
  }
  section:nth-child(3) {
    p {
      float: left;
      margin: 0 5px;
      img {
        width: 15px;
        padding-top: 5px;
      }
      a {
        height: 25px;
        line-height: 25px;
        padding: 0 15px;
        background: $redColor;
        font-size: 14px;
        color: #fff;
        border-radius: 3px;
        display: inline-block;
      }
      a:hover {
        opacity: 0.9;
      }
    }
  }
}

.todayNav {
  //border: 1px solid #dcdcdc;
  border-top: none;
  margin-top: 15px;
  .todayNavList {
    height: 40px;
    line-height: 40px;
    background: #f5f5f5;
    li {
      float: left;
      padding: 0 25px;
      font-size: 14px;
      cursor: pointer;
    }
    li.on {
      background: $redColor;
      color: #fff;
    }
  }
}

.tableWrapperTitle {
  border-top: 1px solid #dcdcdc;
  .tableWTitle {
    //width: 50%;
    //float: left;
    height: 32px;
    line-height: 32px;
    background: #f5f5f5;
    border-right: 1px solid #dcdcdc;
    font-size: 14px;
    color: #686868;
    li {
      width: 70px;
      border-right: 1px solid #dcdcdc;
      text-align: center;
    }
    li:first-child {
      flex: 1;
    }
    li:nth-child(2) {
      width: 120px;
    }
    li:last-child {
      border-right: none;
    }
  }
  .tableWTitle:last-child {
    border-right: none;
  }
}

.tableWrapIssue {
  margin-top: 10px;
  ul {
    li {
      padding-bottom: 10px;
      border-bottom: 1px dashed #fff;
    }
  }
}

.tableArtSection {
  background: #f2f2f2;
  line-height: 35px;
  height: 35px;
  border: 1px solid #dcdcdc;
  p {
    flex: 1;
    text-align: center;
    font-size: 12px;
    border-right: 1px solid #dcdcdc;
    &:last-of-type {
      border-right: none;
    }
  }
}

.tableArtSection.tableArtSectionLine {
  border-top: none;
  background: #fff;
}

.tableArtSecNum {
  margin: 10px 0;
  .tableArtLeft {
    float: left;
    p {
      display: inline-block;
      font-size: 14px;
      color: #999;
      line-height: 35px;
      margin-right: 10px;
      &:first-of-type {
        color: #333;
        font-weight: bold;
      }
    }
  }
}

.awardNumber {
  p {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    background: $redColor;
    display: inline-block;
    border-radius: 50%;
    margin-left: 10px;
  }
}

.baccaratNum {
  p {
    display: inline-block;
    overflow: visible;
    img {
      height: 30px;
      width: auto;
      display: inline-block;
      margin-left: 5px;
      box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
    &:first-child {
      img:first-child {
        box-shadow: none;
      }
    }
    &:nth-child(2) {
      img:last-child {
        box-shadow: none;
      }
    }
    margin-left: 10px;
  }
}

.theResultsPage {
  text-align: right;
  padding: 15px 0;
}

.awardNumberPcty {
  p {
    margin-left: 25px;
    overflow: visible;
    position: relative;
    &.red {
      background: $redColor;
    }
    &.blue {
      background: $blueColor;
    }
    &.green {
      background: $greenColor;
    }
    &.gray {
      background: $grayColor;
    }
    &.black {
      background: $blackColor;
    }
    &:after {
      content: '+';
      font-size: 18px;
      position: absolute;
      top: 0;
      right: -20px;
      color: $redColor;
    }
    &:nth-of-type(3):after {
      content: '=';
    }
  }
}

.awardNumberJSK3 {
  p {
    border-radius: 5px;
  }
}

.awardNumberPK {
  p {
    border-radius: 3px;
  }
}

.awardNumLHColor {
  p {
    position: relative;
    overflow: visible;
    span {
      display: block;
      &:first-of-type {
        line-height: 24px;
      }
      &:last-of-type {
        position: absolute;
        bottom: -8px;
        left: 0;
        text-align: center;
        width: 100%;
        font-size: 12px;
      }
    }
    &:last-of-type {
      margin-left: 25px;
    }
    &:last-of-type:after {
      content: '+';
      position: absolute;
      font-size: 24px;
      color: $redColor;
      left: -22px;
      top: 0;
    }
  }
  .red {
    background: $redColor;
  }
  .blue {
    background: $blueColor;
  }
  .green {
    background: $greenColor;
  }
}

body .theResultsPage .ivu-page-item-active {
  background: $redColor;
  border-color: $redColor;
}

body .theResultsPage .ivu-page-item:hover {
  border-color: $redColor;
}

body .theResultsPage .ivu-page-item:hover a {
  color: $redColor;
}
